package com.ckk.eurekaclient.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ckk.eurekaclient.pojo.MarkEditionPo;
import com.ckk.eurekaclient.vo.req.MarkerReqVo;
import org.apache.ibatis.annotations.Param;
import org.mapstruct.Mapper;

/**
 * 
 * @author zhujunjun
 * @date 2021/05/20 09:29
 **/
@Mapper
public interface MarkEditionMapper extends BaseMapper<MarkEditionPo> {

    /**
     * 删除对应点位的所有打点版本
     * @param intLayer
     * @param intId
     */
    void deleteByMark(@Param("intLayer") Integer intLayer, @Param("intId") Integer intId);

    /**
     * 添加版本
     * @param reqVo
     * @param adminId
     */
    void addEdition(@Param("reqVo") MarkerReqVo reqVo, @Param("adminId") Integer adminId);
}
